﻿using System;
using System.Collections.Generic;
using System.Web;


namespace LightingPlatform.Web
{
    /// <summary>
    /// Summary description for LightingBaseService
    /// </summary>
    public abstract class LightingBaseService
    {
        private string _appDataForder;

        protected string AppDataForder
        {
            get
            {
                if (_appDataForder == null)
                {
                    _appDataForder = HttpContext.Current.Server.MapPath("~/App_Data");
                }
                return _appDataForder;
            }
        }

        protected string GetNowTimeString()
        {
            return DateTime.Now.ToString("yyyyMMddHHmmssffff");
        }
    }
}